package com.telchina.workorder.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.telchina.common.annotation.Excel;
import com.telchina.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 督办申请对象 wo_extension
 *
 * @author konghao
 * @date 2023-02-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WoSupervise extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(
            type = IdType.ASSIGN_UUID
    )
    private String id;

    /**
     * 督办单编号
     */
    @Excel(name = "督办单编号")
    private String superviseNo;

    /**
     * 督办内容
     */
    @Excel(name = "督办内容")
    private String superviseContent;

    /**
     * 终审意见
     */
    @Excel(name = "终审意见")
    private String replyOpinion;


    /**
     * 审批完成时间
     */
    @Excel(name = "审批完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date approveTime;

    /**
     * 督办人
     */
    private String filledBy;

    /**
     * 督办时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date filledTime;


    /**
     * 工单编号
     */
    private String workOrderNumber;

    /**
     * 流程实例ID
     */
    private String instanceId;

    /**
     * 审批状态
     */
    private String approveStatus;

}
